import VCategory from './Category/index.vue'
import type { App } from 'vue'

// 将需要批量注册的组件放到一个数组中
const components = [VCategory]

export default {
  install(app: App) {
    components.forEach((component) => {
      app.component(component.name, component)
    })
  }
}
